package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 房屋
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "PropertyInformation对象", description = "房屋")
public class PropertyInformation implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "房屋id", hidden = true)
	@TableId(value = "house_ID", type = IdType.AUTO)
	private Long houseId;

	@ApiModelProperty(value = "房屋名称")
	private String houseName;

	@ApiModelProperty(value = "房屋单元")
	private String houseUnit;

	@ApiModelProperty(value = "表示开始使用的时间")
	private LocalDateTime startTime;

	@ApiModelProperty(value = "用户id")
	@TableField("user_ID")
	private Long userId;

	@ApiModelProperty(value = "备注")
	private String comment;


}
